﻿using System;
using System.Collections.Generic;
using System.Text;
using DataAccess.Entitys;

namespace Business.Entitys
{
    public class User
    {
        internal User() { }
        public string UId { get { return uid; } }
        public string Name { get { return name; } }
        internal string uid  = string.Empty;
        internal string name = string.Empty;

        internal static User From(MetaUser metaUser)
        {
            User user = new User();
            user.uid  = metaUser.uid;
            user.name = metaUser.name;
            return user;
        }
    }
}
